// $(function (){
window.bindData = {url: '',options:''};
window.vue = new Vue({
    el: '#app', data: function () {
        return window.bindData;
    }, methods: {}
})
// });








var getDataFun = window.editor.getData;
window.editor.getData = function () {
    return window.bindData;

}
var setDataFun = window.editor.setData;
window.editor.setData = function (d) {
    if (d) {
        var keys = Object.keys(d);
        keys.forEach(v => {
            window.bindData[v] = d[v];
        })
    }
}